<%-- 
    Document   : NumberFormatError
    Created on : Dec 4, 2011, 11:30:45 AM
    Author     : Valentina
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@page isErrorPage="true"%>

<%@page import="java.util.ResourceBundle"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html>

<c:set var="language" value="${not empty param.language ? param.language : not empty language ? language : pageContext.request.locale}" scope="session" />
<fmt:setLocale value="${language}" />
<fmt:setBundle basename="Messages"/>


<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="default.css" rel="stylesheet" type="text/css" />
        <title><fmt:message key="page.text.user.error"/></title>
    </head>
    <body>

        <jsp:include page="/WEB-INF/frontend/commons/header.jspf"></jsp:include>

            <table width="740" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td><img src="images/spacer.gif" alt="" width="100" height="30" /></td>
                            </tr>
                            <tr>
                                <td class="title"><fmt:message key="page.text.user.error"/></td>
                        </tr>

                        <tr>
                            <td>
<!--                                <ul class="error">
                                    <c:forEach var="error" items="${myErrors}" >
                                        <li> ${error}</li>

                                    </c:forEach>
                                </ul>-->

                                <ul class="error">
                                    <c:forEach var="myerror" items="${myErrors}" >
                                        <li>
                                            <c:if test="${myerror.fieldName == 'numberFormatError'}">
                                                <fmt:message key="page.error.userId"/> </c:if>
                                            </li>

                                        ${myerror}
                                    </c:forEach>
                                </ul>


                            </td>
                        </tr>


                        <tr>



                        </tr>   

                    </table>
                </td>
            </tr>


        </table>

        <jsp:include page="/WEB-INF/frontend/commons/footer.jspf"></jsp:include>

    </body>
</html>